package xjtu.sad.zbsj.template;

public class AttributeProperty {
    private Integer attrPropertyId;//属性名id
    private Integer maxLength;//最大长度
    private Integer minLength;//最小长度
    private String placeHolder;//默认文字
    private Boolean required;//是否必填
    private Boolean allowMulti;//允许多选

    public Integer getAttrPropertyId() {
        return attrPropertyId;
    }

    public void setAttrPropertyId(Integer attrPropertyId) {
        this.attrPropertyId = attrPropertyId;
    }

    public Integer getMaxLength() {
        return maxLength;
    }

    public void setMaxLength(Integer maxLength) {
        this.maxLength = maxLength;
    }

    public Integer getMinLength() {
        return minLength;
    }

    public void setMinLength(Integer minLength) {
        this.minLength = minLength;
    }

    public String getPlaceHolder() {
        return placeHolder;
    }

    public void setPlaceHolder(String placeHolder) {
        this.placeHolder = placeHolder;
    }

    public Boolean getRequired() {
        return required;
    }

    public void setRequired(Boolean required) {
        this.required = required;
    }

    public Boolean getAllowMulti() {
        return allowMulti;
    }

    public void setAllowMulti(Boolean allowMulti) {
        this.allowMulti = allowMulti;
    }

    @Override
    public String toString() {
        return "AttributeProperty{" +
                "attrPropertyId=" + attrPropertyId +
                ", maxLength=" + maxLength +
                ", minLength=" + minLength +
                ", placeHolder='" + placeHolder + '\'' +
                ", required=" + required +
                ", allowMulti=" + allowMulti +
                '}';
    }
}
